package com.bootdo.system.dao;

import com.bootdo.system.domain.TuiguanglogDO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-02-07 17:47:33
 */
@Mapper
public interface TuiguanglogDao {

	TuiguanglogDO get(Long id);
	
	List<TuiguanglogDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(TuiguanglogDO tuiguanglog);
	
	int update(TuiguanglogDO tuiguanglog);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    BigDecimal getTodaytuiguangYingli(Long userId);

	BigDecimal getAlltuiguangYingli(Long userId);
}
